package android.view;

import android.content.ContentResolver;
import android.os.Parcel;
import android.os.Parcelable;
import android.provider.Settings;

public final class WindowRotation  implements Parcelable {
    protected WindowRotation(Parcel in) {
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<WindowRotation> CREATOR = new Creator<WindowRotation>() {
        @Override
        public WindowRotation createFromParcel(Parcel in) {
            return new WindowRotation(in);
        }

        @Override
        public WindowRotation[] newArray(int size) {
            return new WindowRotation[size];
        }
    };

    /**
     * @hide
     */
    /** @hide */
    public static class dowindowrotation{

        /** @hide */
        public dowindowrotation(ContentResolver contentResolver, String objValue) {
            Settings.System.putString(contentResolver,Settings.System.USER_ROTATION,objValue);

        }

//        public void dowindowrotationnow(ContentResolver contentResolver, String string){
//
//            Settings.System.putString(contentResolver,Settings.System.USER_ROTATION,string);
//
//
//
//        }















    }


}
